import vue from '@vitejs/plugin-vue'
const path = require('path')

export default {
    base: './',
    plugins: [vue()],
    optimizeDeps: {
        include: ['schart.js']
    },
    server:{
        https: false,
        port: 8080,
        host: '0.0.0.0'
    },
    resolve: {
        // 配置路径别名
        alias: {
          '@': path.resolve(__dirname, './src'),
        },
    }
}